#include <cppunit/TestCase.h>
#include <cppunit/extensions/HelperMacros.h>

#include "RestClient.h"
#include "XMLRequest.h"
#include "RTMRequest.h"
#include "RTMClient.h"

class RestClientTestCase : public CppUnit::TestCase
{
  CPPUNIT_TEST_SUITE(RestClientTestCase);
  CPPUNIT_TEST(getTest);
  CPPUNIT_TEST(postTest);
  CPPUNIT_TEST_SUITE_END();

  protected:
    void getTest();
    void postTest();
};

class XMLRequestTestCase : public CppUnit::TestCase
{
  CPPUNIT_TEST_SUITE(XMLRequestTestCase);
  CPPUNIT_TEST(getDataTest);
  CPPUNIT_TEST_SUITE_END();

  protected:
    void getDataTest();
};

class RTMRequestTestCase : public CppUnit::TestCase
{
  CPPUNIT_TEST_SUITE(RTMRequestTestCase);
  CPPUNIT_TEST(getDataTest);
  CPPUNIT_TEST_SUITE_END();

  protected:
    void getDataTest();
};

class RTMClientTestCase : public CppUnit::TestCase
{
  CPPUNIT_TEST_SUITE(RTMClientTestCase);
  CPPUNIT_TEST(getFrobTest);
  CPPUNIT_TEST_SUITE_END();

  protected:
    void getFrobTest();
};
